import { createRouter, createWebHistory } from 'vue-router'
import bookmarkClass from './bookmarkClass'

const routes = [{
    path: '/',
    name: 'Index',
    component: () =>
        import ('../views/Index.vue')
}, {
    path: '/register',
    name: 'Register',
    component: () =>
        import ('../views/Register.vue')
}, {
    path: '/login',
    name: 'Login',
    component: () =>
        import ('../views/Login.vue')
}, bookmarkClass]

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})


export default router